/*
 * TTCPWriter.h
 *
 *  Created on: 06.03.2012
 *      Author: caffeine
 */

#ifndef CTCPWRITER_H_
#define CTCPWRITER_H_
#include <lampe/stream/IWriter.h>
#include "../../lib/socketlib.h"


namespace lampe{
namespace stream{
namespace tcp{

class CTCPWriter:public IWriter{
private:
	SOCKET sock;
	bool signal;
public:
	virtual u32 write(void* buffer,u32 size);
	CTCPWriter(SOCKET s,bool sing);
	virtual ~CTCPWriter();
};

}//namespace tcp
}//namespace stream
}//namespace lampe

#endif /* TTCPWRITER_H_ */
